﻿@model IEnumerable<DoAnBLL.ttnguoidung>

@{
    ViewBag.Title = "TTTK";
}

<h2>TTTK</h2>
<div class="editor-label">
<table>
    <tr>
        <th>
            USERNAME
        </th>
        <th>
            HOTEN
        </th>
        <th>
            NGAYSINH
        </th>
        <th>
            GIOITINH
        </th>
        <th>
            DIACHI
        </th>
        <th>
            DIENTHOAI
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.USERNAME)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.HOTEN)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.NGAYSINH)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.GIOITINH)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DIACHI)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DIENTHOAI)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.ID }) |
        </td>
    </tr>
}

</table>

</div>